﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AE5 RID: 2789
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeLevelEndCsReq : IMessage<MatchThreeLevelEndCsReq>, IMessage, IEquatable<MatchThreeLevelEndCsReq>, IDeepCloneable<MatchThreeLevelEndCsReq>, IBufferMessage
	{
		// Token: 0x17002330 RID: 9008
		// (get) Token: 0x06007CCA RID: 31946 RVA: 0x0014D080 File Offset: 0x0014B280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeLevelEndCsReq> Parser
		{
			get
			{
				return MatchThreeLevelEndCsReq._parser;
			}
		}

		// Token: 0x17002331 RID: 9009
		// (get) Token: 0x06007CCB RID: 31947 RVA: 0x0014D087 File Offset: 0x0014B287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeLevelEndCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002332 RID: 9010
		// (get) Token: 0x06007CCC RID: 31948 RVA: 0x0014D099 File Offset: 0x0014B299
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeLevelEndCsReq.Descriptor;
			}
		}

		// Token: 0x06007CCD RID: 31949 RVA: 0x0014D0A0 File Offset: 0x0014B2A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndCsReq()
		{
		}

		// Token: 0x06007CCE RID: 31950 RVA: 0x0014D0CC File Offset: 0x0014B2CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndCsReq(MatchThreeLevelEndCsReq other) : this()
		{
			this.gDIHBJJJLKH_ = other.gDIHBJJJLKH_.Clone();
			this.uuid_ = other.uuid_;
			this.birdTopScore_ = other.birdTopScore_;
			this.levelId_ = other.levelId_;
			this.oNJOIODIPKI_ = other.oNJOIODIPKI_.Clone();
			this.birdId_ = other.birdId_;
			this.modeId_ = other.modeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007CCF RID: 31951 RVA: 0x0014D14E File Offset: 0x0014B34E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndCsReq Clone()
		{
			return new MatchThreeLevelEndCsReq(this);
		}

		// Token: 0x17002333 RID: 9011
		// (get) Token: 0x06007CD0 RID: 31952 RVA: 0x0014D156 File Offset: 0x0014B356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, uint> GDIHBJJJLKH
		{
			get
			{
				return this.gDIHBJJJLKH_;
			}
		}

		// Token: 0x17002334 RID: 9012
		// (get) Token: 0x06007CD1 RID: 31953 RVA: 0x0014D15E File Offset: 0x0014B35E
		// (set) Token: 0x06007CD2 RID: 31954 RVA: 0x0014D166 File Offset: 0x0014B366
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Uuid
		{
			get
			{
				return this.uuid_;
			}
			set
			{
				this.uuid_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002335 RID: 9013
		// (get) Token: 0x06007CD3 RID: 31955 RVA: 0x0014D179 File Offset: 0x0014B379
		// (set) Token: 0x06007CD4 RID: 31956 RVA: 0x0014D181 File Offset: 0x0014B381
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BirdTopScore
		{
			get
			{
				return this.birdTopScore_;
			}
			set
			{
				this.birdTopScore_ = value;
			}
		}

		// Token: 0x17002336 RID: 9014
		// (get) Token: 0x06007CD5 RID: 31957 RVA: 0x0014D18A File Offset: 0x0014B38A
		// (set) Token: 0x06007CD6 RID: 31958 RVA: 0x0014D192 File Offset: 0x0014B392
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x17002337 RID: 9015
		// (get) Token: 0x06007CD7 RID: 31959 RVA: 0x0014D19B File Offset: 0x0014B39B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ONJOIODIPKI
		{
			get
			{
				return this.oNJOIODIPKI_;
			}
		}

		// Token: 0x17002338 RID: 9016
		// (get) Token: 0x06007CD8 RID: 31960 RVA: 0x0014D1A3 File Offset: 0x0014B3A3
		// (set) Token: 0x06007CD9 RID: 31961 RVA: 0x0014D1AB File Offset: 0x0014B3AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BirdId
		{
			get
			{
				return this.birdId_;
			}
			set
			{
				this.birdId_ = value;
			}
		}

		// Token: 0x17002339 RID: 9017
		// (get) Token: 0x06007CDA RID: 31962 RVA: 0x0014D1B4 File Offset: 0x0014B3B4
		// (set) Token: 0x06007CDB RID: 31963 RVA: 0x0014D1BC File Offset: 0x0014B3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ModeId
		{
			get
			{
				return this.modeId_;
			}
			set
			{
				this.modeId_ = value;
			}
		}

		// Token: 0x06007CDC RID: 31964 RVA: 0x0014D1C5 File Offset: 0x0014B3C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeLevelEndCsReq);
		}

		// Token: 0x06007CDD RID: 31965 RVA: 0x0014D1D4 File Offset: 0x0014B3D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeLevelEndCsReq other)
		{
			return other != null && (other == this || (this.GDIHBJJJLKH.Equals(other.GDIHBJJJLKH) && !(this.Uuid != other.Uuid) && this.BirdTopScore == other.BirdTopScore && this.LevelId == other.LevelId && this.oNJOIODIPKI_.Equals(other.oNJOIODIPKI_) && this.BirdId == other.BirdId && this.ModeId == other.ModeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007CDE RID: 31966 RVA: 0x0014D27C File Offset: 0x0014B47C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.GDIHBJJJLKH.GetHashCode();
			if (this.Uuid.Length != 0)
			{
				num ^= this.Uuid.GetHashCode();
			}
			if (this.BirdTopScore != 0U)
			{
				num ^= this.BirdTopScore.GetHashCode();
			}
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			num ^= this.oNJOIODIPKI_.GetHashCode();
			if (this.BirdId != 0U)
			{
				num ^= this.BirdId.GetHashCode();
			}
			if (this.ModeId != 0U)
			{
				num ^= this.ModeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007CDF RID: 31967 RVA: 0x0014D33D File Offset: 0x0014B53D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007CE0 RID: 31968 RVA: 0x0014D345 File Offset: 0x0014B545
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007CE1 RID: 31969 RVA: 0x0014D350 File Offset: 0x0014B550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ModeId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ModeId);
			}
			this.oNJOIODIPKI_.WriteTo(ref output, MatchThreeLevelEndCsReq._repeated_oNJOIODIPKI_codec);
			if (this.BirdId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.BirdId);
			}
			if (this.BirdTopScore != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.BirdTopScore);
			}
			this.gDIHBJJJLKH_.WriteTo(ref output, MatchThreeLevelEndCsReq._map_gDIHBJJJLKH_codec);
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.LevelId);
			}
			if (this.Uuid.Length != 0)
			{
				output.WriteRawTag(98);
				output.WriteString(this.Uuid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007CE2 RID: 31970 RVA: 0x0014D424 File Offset: 0x0014B624
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gDIHBJJJLKH_.CalculateSize(MatchThreeLevelEndCsReq._map_gDIHBJJJLKH_codec);
			if (this.Uuid.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Uuid);
			}
			if (this.BirdTopScore != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BirdTopScore);
			}
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			num += this.oNJOIODIPKI_.CalculateSize(MatchThreeLevelEndCsReq._repeated_oNJOIODIPKI_codec);
			if (this.BirdId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BirdId);
			}
			if (this.ModeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ModeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007CE3 RID: 31971 RVA: 0x0014D4F0 File Offset: 0x0014B6F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeLevelEndCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.gDIHBJJJLKH_.MergeFrom(other.gDIHBJJJLKH_);
			if (other.Uuid.Length != 0)
			{
				this.Uuid = other.Uuid;
			}
			if (other.BirdTopScore != 0U)
			{
				this.BirdTopScore = other.BirdTopScore;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this.oNJOIODIPKI_.Add(other.oNJOIODIPKI_);
			if (other.BirdId != 0U)
			{
				this.BirdId = other.BirdId;
			}
			if (other.ModeId != 0U)
			{
				this.ModeId = other.ModeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007CE4 RID: 31972 RVA: 0x0014D5A3 File Offset: 0x0014B7A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007CE5 RID: 31973 RVA: 0x0014D5AC File Offset: 0x0014B7AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num <= 16U)
					{
						if (num == 8U)
						{
							this.ModeId = input.ReadUInt32();
							continue;
						}
						if (num != 16U)
						{
							goto IL_41;
						}
					}
					else if (num != 18U)
					{
						if (num != 32U)
						{
							goto IL_41;
						}
						this.BirdId = input.ReadUInt32();
						continue;
					}
					this.oNJOIODIPKI_.AddEntriesFrom(ref input, MatchThreeLevelEndCsReq._repeated_oNJOIODIPKI_codec);
					continue;
				}
				if (num <= 50U)
				{
					if (num == 40U)
					{
						this.BirdTopScore = input.ReadUInt32();
						continue;
					}
					if (num == 50U)
					{
						this.gDIHBJJJLKH_.AddEntriesFrom(ref input, MatchThreeLevelEndCsReq._map_gDIHBJJJLKH_codec);
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.LevelId = input.ReadUInt32();
						continue;
					}
					if (num == 98U)
					{
						this.Uuid = input.ReadString();
						continue;
					}
				}
				IL_41:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002FA9 RID: 12201
		private static readonly MessageParser<MatchThreeLevelEndCsReq> _parser = new MessageParser<MatchThreeLevelEndCsReq>(() => new MatchThreeLevelEndCsReq());

		// Token: 0x04002FAA RID: 12202
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FAB RID: 12203
		public const int GDIHBJJJLKHFieldNumber = 6;

		// Token: 0x04002FAC RID: 12204
		private static readonly MapField<uint, uint>.Codec _map_gDIHBJJJLKH_codec = new MapField<uint, uint>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForUInt32(16U, 0U), 50U);

		// Token: 0x04002FAD RID: 12205
		private readonly MapField<uint, uint> gDIHBJJJLKH_ = new MapField<uint, uint>();

		// Token: 0x04002FAE RID: 12206
		public const int UuidFieldNumber = 12;

		// Token: 0x04002FAF RID: 12207
		private string uuid_ = "";

		// Token: 0x04002FB0 RID: 12208
		public const int BirdTopScoreFieldNumber = 5;

		// Token: 0x04002FB1 RID: 12209
		private uint birdTopScore_;

		// Token: 0x04002FB2 RID: 12210
		public const int LevelIdFieldNumber = 9;

		// Token: 0x04002FB3 RID: 12211
		private uint levelId_;

		// Token: 0x04002FB4 RID: 12212
		public const int ONJOIODIPKIFieldNumber = 2;

		// Token: 0x04002FB5 RID: 12213
		private static readonly FieldCodec<uint> _repeated_oNJOIODIPKI_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04002FB6 RID: 12214
		private readonly RepeatedField<uint> oNJOIODIPKI_ = new RepeatedField<uint>();

		// Token: 0x04002FB7 RID: 12215
		public const int BirdIdFieldNumber = 4;

		// Token: 0x04002FB8 RID: 12216
		private uint birdId_;

		// Token: 0x04002FB9 RID: 12217
		public const int ModeIdFieldNumber = 1;

		// Token: 0x04002FBA RID: 12218
		private uint modeId_;
	}
}
